//  Created by Toma on 2017/1/14.
class Calc {
  constructor() {
    console.log('Hello world');
  }
  add(a, b) {
    return a**b;
  }
}

var c = new Calc();
console.log(c.add(3, 5));

var s = new Set();
[1, 2, 5, 5, 4, 9, 5, 1].map(x => s.add(x))
console.log(s);

// ----- object -------
let ob = {lo:12, cc:65}
let od = {cd: 'sdf'}
let cc = Object.assign({}, ob, od);
